package cn.com.tarotframework.exception;

import cn.com.tarotframework.utils.exception.TarotGlobalException;
import cn.com.tarotframework.utils.response.TarotCode;

import java.io.Serial;

/**
 * copyright (C), 2022, 塔罗牌基础架构
 *
 * @program: tarot-demo
 * @description: 异常处理
 * @author: Jiang Xincan
 * @date: 2022/5/23 10:52
 * @version: 0.0.1
 **/
public class DemoException extends TarotGlobalException {

    @Serial
    private static final long serialVersionUID = -7282766033994853873L;

    public DemoException(){
        super();
    }

    public DemoException(int code, String msg) {
        super(code, msg);
    }

    public DemoException(String msg) {
        super(msg);
    }

    public DemoException(TarotCode tarotCode) {
        super(tarotCode);
    }

    public DemoException(TarotCode tarotCode, String msg) {
        super(tarotCode, msg);
    }
}
